package com.atguigu.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author leimingchao
 * create 2024-09-23 0:10
 */
@RestController
@RequestMapping(value = "/actor")
public class ActorController {

    @GetMapping(value = "/name")
    public String getActorName() {

        return "梁朝伟";
    }
}
